package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 user_info
 * 
 * @author ruoyi
 * @date 2025-09-19
 */
public class UserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户 */
    @Excel(name = "用户")
    private String userId;

    /** 微信用户唯一标识 */
    private String openId;

    /** 跨平台统一ID */
    private String unionId;

    /** 微信会话密钥 */
    private String sessionKey;

    /** 手机 */
    @Excel(name = "手机")
    private String phoneNumber;

    /** 状态 */
    private Integer status;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 性别 */
    @Excel(name = "性别")
    private Integer gender;

    /** 地区 */
    @Excel(name = "地区")
    private String region;

    /** 单位 */
    @Excel(name = "单位")
    private String company;

    /** 职工号 */
    private String employeeId;

    /** 当日积分 */
    @Excel(name = "当日积分")
    private Long dailyPoints;

    /** 总积分 */
    @Excel(name = "总积分")
    private Long totalPoints;

    /** $column.columnComment */
    private String currentOrgId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }

    public void setUnionId(String unionId) 
    {
        this.unionId = unionId;
    }

    public String getUnionId() 
    {
        return unionId;
    }

    public void setSessionKey(String sessionKey) 
    {
        this.sessionKey = sessionKey;
    }

    public String getSessionKey() 
    {
        return sessionKey;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }

    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }

    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }

    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }

    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }

    public void setDailyPoints(Long dailyPoints) 
    {
        this.dailyPoints = dailyPoints;
    }

    public Long getDailyPoints() 
    {
        return dailyPoints;
    }

    public void setTotalPoints(Long totalPoints) 
    {
        this.totalPoints = totalPoints;
    }

    public Long getTotalPoints() 
    {
        return totalPoints;
    }

    public void setCurrentOrgId(String currentOrgId) 
    {
        this.currentOrgId = currentOrgId;
    }

    public String getCurrentOrgId() 
    {
        return currentOrgId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("openId", getOpenId())
            .append("unionId", getUnionId())
            .append("sessionKey", getSessionKey())
            .append("phoneNumber", getPhoneNumber())
            .append("status", getStatus())
            .append("nickname", getNickname())
            .append("gender", getGender())
            .append("region", getRegion())
            .append("company", getCompany())
            .append("employeeId", getEmployeeId())
            .append("dailyPoints", getDailyPoints())
            .append("totalPoints", getTotalPoints())
            .append("currentOrgId", getCurrentOrgId())
            .toString();
    }
}
